﻿using Entity.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Text;

namespace Entity.Models.vo
{
    /// <summary>
    /// 日志VO类
    /// </summary>
    public class LogVo
    {

        /// <summary>
        /// 审核人名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 审核信息
        /// </summary>
        public string Description { get; set; }
        
        /// <summary>
        /// 状态
        /// </summary>
        public string  Status { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public string CreateTime { get; set; }


        public LogVo(string name, string reason, DateTime createTime, WorkFlow_InstanceEnums.WorkFlow_InstanceStepEnums status)
        {
            
            Title = name;
            Description = reason;
            CreateTime = createTime.ToString("yyyy:mm:dd HH:mm:ss");
            Status = Enumss.getDescribe(status);
        }
        public LogVo()
        {
        }
   
    }
}
